<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">
  <xi:include href="master.html" />
<head>
    <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
    <title>Create Note</title>
</head>

<body>
  <div id="search">
    <form action="/search" method="post" >
      <fieldset>
        <legend>Search</legend>
        <p>
          <label for="title">Query</label>
          <input type="text" id="query" name="query"/>
        </p>
        <input type="submit" value="Search"/>
      </fieldset>
    </form>
  </div>

  <div id="res" py:if="query">
    <p py:if="not results">
      No match
    </p>
    <ul py:if="results">
      <li py:for="project in results">
        <a href="${tg.url('/project/load/' + str(project.id))}"
          py:content="project.title">Project title</a>
      </li>
    </ul>
  </div>
</body>

</html>